package com.spark.incoicings.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spark.incoicings.vo.SalesReceiptVO;
import com.spark.invoicings.entity.SalesReceipt;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SalesReceiptMapper extends BaseMapper<SalesReceipt> {

    /**
     * 统计近两年的销售回款
     * @return
     */
    List<SalesReceiptVO> selectReceiptCount();
}
